package com.reagent.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.reagent.system.entity.Goods;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Heyue
 * @since 2020-11-26
 */
public interface GoodsService extends IService<Goods> {

    Object addGoods(MultipartFile images, Goods goods) throws Exception;

    Object getGoodsInfoUid(Integer pageSize, Integer currentPage, String serachInfo);

    void saveInfo(List<Goods> list);

    Object getGoodsInfo(Integer pageSize, Integer currentPage, String serachInfo);

    Object updateStatus1(Integer id);

    Object updateStatus0(Integer id);
}
